html {
	overflow: hidden;
}

body {
	margin: 0;
	padding: 0;
	background: url(../images/demo-bg.png) 50% 0 repeat-x;
	font: 11px Helvetica,Arial,FreeSans,sans-serif;

}

img { border: 0; }

#navigation {
	width: 996px;
	height: 75px;
	border: 0px solid #f00;
	margin: 0 auto;
	position: relative;
	z-index: 2000;
}

#logo {
	position: absolute;
	top: 0;
	left: 0;
}

#selectbox {
	border: 0px solid #f00;
	position: absolute;
	left: 280px;
	top: 0;
}

#selectbox form {
	margin: 0;
	padding: 0;
}

#selectbox select {
	margin-top: 19px;
	width: 270px;
	overflow: hidden;
	color: #ccc;
	background: #111;
	height: 22px;
}

#joinbox {
	float: right;
	width: 410px;
}

#mobile-notice {
	width: 329px;
	height: 30px;
	position: absolute;
	top: 43px;
	right: -45px;
	background: url(../images/mobile-notice.png);
	z-index: 3400;
}

.no-iframe {
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
	background: #555;
	color: #fff;
	padding: 0 5px 2px;
	position: absolute;
	right: -50px;
	top: 20px;
	font-size: 20px;
	line-height: 20px;
	cursor: pointer;
}

.no-iframe:hover {
	background: #ccc;
	color: #333;
}

#astroboy {
	float: right;
}

.iframe-wrapper {
	margin-top: 78px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#iframe {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
}


.demo-overlay {
	background: rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 78px;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 200;
}

.demo-overlay .loader-wrapper {
	width: 60px;
	height:60px;
	margin: 100px auto 0;
	padding: 20px;
	background-color: #e5e5e5;
	background-color: rgba(0, 0, 0, 0.7);
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.4) inset, 1px 1px 1px rgba(255, 255, 255, 0.1);
	border-radius: 1em;
}

.demo-overlay .loader-wrapper .loader {
	width: 100%;
	height: 100%;
	background-image: url();
}

.demo-overlay.hide {
	display: none;
}

/* enanched select box */

div.preview {
	position: absolute;
	width: 216px;
	height: 160px;
	padding: 5px;
	background: #fff;
	z-index: 3400;
}

#selecttpl, #selecttpl #list {
	background-color: #333;
	background-image:-moz-linear-gradient(top,#333,#222);
	background-image:-ms-linear-gradient(top,#333,#222);
	background-image:-webkit-gradient(linear,0 0,0 100%,from(#333),to(#222));
	background-image:-webkit-linear-gradient(top,#333,#222);
	background-image:-o-linear-gradient(top,#333,#222);
	background-image:linear-gradient(top,#333,#222);
	background-repeat:repeat-x;
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
	-webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.1) inset, 0 -1px 0 0 #000 inset;
	-moz-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.1) inset, 0 -1px 0 0 #000 inset;
	box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.1) inset, 0 -1px 0 0 #000 inset;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	left: 0;
	right: 0;
}

#selecttpl {
	position: relative;
	margin: 18px 5px 0 0;
	float: left;
	width: 273px;
	height: 26px;
	cursor: pointer;
}

#selecttpl:hover {
	background: #3a3a3a;
}

#selecttpl.open {
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	border-radius: 4px 4px 0 0;
}

#selecttpl.open #list {
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}

#selecttpl span.current {
	font-size: 1.3em;
	font-weight: bold;
	padding-left: 10px;
	line-height: 25px;
	color: #fff;
}

#selecttpl span.caret {
	border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #999;
    content: "";
    display: inline-block;
    height: 0;
    vertical-align: top;
    width: 0;
    content: "\2191";
    margin-left: 0;
    margin-top: 7px;
    position: absolute;
    right: 10px;
    top: 3px;
}

#list {
	position: absolute;
	top: 26px;
	z-index: 3500;
	padding: 5px 8px 8px 0;
	overflow: hidden;
}

#list div {
	padding: 0 1em 1em;
	max-height: 352px;
	overflow: auto;

}

#list div ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#list div ul li {
	border-top: 1px solid #2f2f2f;
	border-bottom: 1px solid #161616;
}

#list div ul li a {
	font-size: 13px;
	outline: none;
	display: block;
	color: #ccc;
	font-weight: normal;
	text-decoration: none;
	padding: 5px 8px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background-position: 98% center;
	background-repeat: no-repeat;
	margin-bottom: 1px;
}

#list div ul li a:hover {
	background-color: #111;
	color: #FF5600;
}

#list div ul li a.bonus {
	background-image: url(../images/bonus.gif);
}

#list div ul li a.labs {
	background-image: url(../images/labs.gif);
}

#list div ul li a.free {
	background-image: url(../images/free.gif);
}

#list div ul li a.selected {
	background-color: #111;
	background-image: url(../images/current.gif);
	color: white;
}


.rok-tooltip {
	background: rgba(0, 0, 0, 0.5);
	padding: 0;
	z-index: 53000;
	text-align: center;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.rok-tooltip .tip-title {
	display: none;
}

.rok-tooltip .tip-title p {
	color: #fff;
	font-size: 12px;
	font-weight: bold;
	padding: 0;
}

.rok-tooltip .tip-text {
	margin: 0;
	padding: 5px;
}

.rok-tooltip .tip-text img{
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.rok-tooltip .error {
	background: none;
	width: 220px;
	height: 155px;
}

/* Responsive Stuff */
@media only screen and (min-width: 960px) and (max-width: 1199px) {
	#navigation {width: 800px;margin:0 auto;}
	#joinbox {width:200px;}
	#choose { display: none !important; }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	#navigation { width: 350px;margin:0 auto; }
	#joinbox, #selectbox img { display: none !important; }
	#selectbox { left: 62px; }
	#logo { width: 40px; height: 60px; overflow: hidden; margin-left: 12px; }
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
	#navigation { width: 350px;margin:0 auto; }
	#joinbox, .rok-tooltip, #selectbox img { display: none !important; }
	#selectbox { left: 62px; }
	#logo { width: 40px; height: 60px; overflow: hidden; margin-left: 12px; }
}

@media only screen and (max-width: 480px) {
	#navigation { width: 250px;margin:0 auto; }
	#joinbox, .rok-tooltip, #selectbox img { display: none !important; }
	#selectbox { left: 62px; }
	#selecttpl {width:182px;}
	#logo { width: 40px; height: 60px; overflow: hidden; margin-left: 12px; }
	#list div ul li a.selected, #list div ul li a.bonus, #list div ul li a.labs, #list div ul li a.free {background-image: none;}
	.no-iframe {right: -25px;}
	#mobile-notice {right: -20px;}
	#list div {padding: 0 0.5em 0.5em;}

}
